package com.dataaccess.dataaccess.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.dataaccess.dataaccess.common.base.BasisEntity;

/**
 * @author Yang
 */
@TableName("fire_department")
public class FireDepartment extends BasisEntity {
    private String id;//主键id
    private String name;//名称
    private String pid;//父id
    private String level;//等级

    public String getPid() {
        return this.getString("pid");
    }

    public void setPid(String pid) {
        this.put("pid",pid);
    }

    public String getLevel() {
        return this.getString("level");
    }

    public void setLevel(String level) {
        this.put("level",level);
    }

    public String getId() {
        return this.getString("id");
    }

    public void setId(String id) {
        this.put("id",id);
    }

    public String getName() {
        return this.getString("name");
    }

    public void setName(String name) {
        this.put("name",name);
    }
}
